/*
	Written By Pradipna Nepal
	www.pradsprojects.com

	Copyright (C) 2011 Pradipna Nepal
	Please read COPYING.txt included along with this source code for more detail.
	If not included, see http://www.gnu.org/licenses/
*/

#ifndef LIBFRAMETIMER_H
#define LIBFRAMETIMER_H

#include <windows.h>

#pragma comment (lib, "winmm.lib")

class FrameTimer {
private:
	DWORD currentTime, previousTime;
	unsigned int requiredResolution;
	
public:
	FrameTimer();
	~FrameTimer();

	bool delayFrame();
};

#endif